//
//  UIColor+BSColor.m
//  sister
//
//  Created by 周冰烽 on 2017/2/8.
//  Copyright © 2017年 周冰烽. All rights reserved.
//

#import "UIColor+BSColor.h"

@implementation UIColor (BSColor)
+(instancetype)BS_RandomColor {
    return [UIColor colorWithRed:arc4random_uniform(100)/100.0 green:arc4random_uniform(100)/100.0 blue:arc4random_uniform(100)/100.0 alpha:1.0];
}
+(instancetype)BS_Red:(CGFloat)red Green:(CGFloat)green Blue:(CGFloat)blue Alpha:(CGFloat)alpha{
    return [UIColor colorWithRed:(red)/255.0 green:(green)/255.0 blue:(blue)/255.0 alpha:alpha];
}
@end
